package com.prothink.entity;

import java.util.List;

/**
 * @description ：菜单导航栏节点
 * @author     ：sumnight
 * @projectName ：${NAME}
 * @date       ：${DATE} ${TIME}
 */
public class TreeNode {
    private int id;
    private int pid;
    private String name;
    private String code;
    private String path;
    private String icon;
    private List<TreeNode> children;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public List<TreeNode> getChildren() {
        return children;
    }

    public void setChildren(List<TreeNode> children) {
        this.children = children;
    }
}
